package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 建筑升级日志
 * @Author cwq
 * @Data 2022/3/26 18:18
 */
@FieldTypeAnnotation(tableName = "t_l_activity_shushan_build_up")
public class LogShuShanBuildUp {

    @FieldTypeAnnotation(desc = "活动id")
    private long activityId;
    @FieldTypeAnnotation(desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(desc = "建筑id")
    private int build;
    @FieldTypeAnnotation(desc = "当前声望")
    private long prestige;
    @FieldTypeAnnotation(desc = "升级前等级")
    private int oldLv;
    @FieldTypeAnnotation(desc = "升级后等级")
    private int newLv;
    @FieldTypeAnnotation(desc = "消耗道具")
    private String consume;
    @FieldTypeAnnotation(desc = "时间")
    private long time;

    public LogShuShanBuildUp(long activityId, long userId, int build, long prestige, int oldLv, int newLv, String consume, long time) {
        this.activityId = activityId;
        this.userId = userId;
        this.build = build;
        this.prestige = prestige;
        this.oldLv = oldLv;
        this.newLv = newLv;
        this.consume = consume;
        this.time = time;
    }

    public long getActivityId() {
        return activityId;
    }

    public void setActivityId(long activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getBuild() {
        return build;
    }

    public void setBuild(int build) {
        this.build = build;
    }

    public long getPrestige() {
        return prestige;
    }

    public void setPrestige(long prestige) {
        this.prestige = prestige;
    }

    public int getOldLv() {
        return oldLv;
    }

    public void setOldLv(int oldLv) {
        this.oldLv = oldLv;
    }

    public int getNewLv() {
        return newLv;
    }

    public void setNewLv(int newLv) {
        this.newLv = newLv;
    }

    public String getConsume() {
        return consume;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
